package com.example.demo.mapper;

import com.example.demo.model.ArticleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * User:xieChao
 * Date:2022/12/22 12:14
 */
@Mapper
//此注解就是此接口和.xml 进行关联
public interface ArticleMapper {
    public ArticleInfo getArticleById(@Param("id") Integer id);

}
